package org.sunflower.t.wxpaytest.infrastructure.aop;

import org.aspectj.lang.JoinPoint;
import org.aspectj.lang.annotation.Aspect;
import org.aspectj.lang.annotation.Before;

/**
 * @description:
 * @author: TanJingyu
 * @create: 2021-09-27 17:32
 **/
@Aspect
public class AutoDecryptAspect {

    @Before("@annotation(org.sunflower.t.wxpaytest.infrastructure.annotation.AutoDecryptWxNotice)")
    public void decrypt(JoinPoint joinPoint) {
        for (Object arg : joinPoint.getArgs()) {
            System.out.println(arg);
        }
    }
}
